import 'phaser';
import { GameScene } from './scenes/GameScene';

const config = {
    type: Phaser.AUTO,
    width: 375,
    height: 667,
    physics: {
        default: 'matter',
        matter: {
            gravity: { y: 0.5 },
            debug: true
        }
    },
    scene: [GameScene],
    scale: {
        mode: Phaser.Scale.FIT,
        autoCenter: Phaser.Scale.CENTER_BOTH
    }
};

new Phaser.Game(config);